# TP sdl
 
OCAML=ocamlopt
OCAMLFLAGS= -I +sdl -I +lablgtk2 -I +lablGL -ccopt -L.
OCAMLLD= bigarray.cmxa sdl.cmxa sdlloader.cmxa lablgl.cmxa lablglut.cmxa unix.cmxa

 
all: 
	#ln -sf /usr/lib/libglut.so.3.9.0 libglut.so
	${OCAML} ${OCAMLFLAGS} ${OCAMLLD} -o main main.ml
 
clean::
	rm -f *~ *.o *.cm? 3base
 
# FIN
